package com.wocai.jrt.orgadmin.enterprise.service.impl;

import javax.inject.Inject;
import javax.inject.Named;

import com.wocai.jrt.orgadmin.enterprise.dao.FinancialCashFlowDao;
import com.wocai.jrt.orgadmin.enterprise.model.FinancialCashFlow;
import com.wocai.jrt.orgadmin.enterprise.model.FinancialCashFlowBean;
import com.wocai.jrt.orgadmin.enterprise.service.spi.FinancialCashFlowService;

import com.vteba.service.generic.impl.MyBatisServiceImpl;
import com.vteba.tx.jdbc.mybatis.spi.BaseDao;

/**
 * 现金流量表相关的service业务实现。
 * @author yinlei
 * @date 2016-5-6 14:22:15
 */
@Named
public class FinancialCashFlowServiceImpl extends MyBatisServiceImpl<FinancialCashFlow, FinancialCashFlowBean, String> implements FinancialCashFlowService {
	// 添加了方法后，记得改为private
	protected FinancialCashFlowDao financialCashFlowDao;
	
	@Override
	@Inject
	public void setBaseDao(BaseDao<FinancialCashFlow, FinancialCashFlowBean, String> financialCashFlowDao) {
		this.baseDao = financialCashFlowDao;
		this.financialCashFlowDao = (FinancialCashFlowDao) financialCashFlowDao;
	}
}
